<%--
  Created by IntelliJ IDEA.
  User: 任意的爹
  Date: 2021/5/29
  Time: 19:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>查看用户</title>
  </head>
  <body>
      <table>
          <tr><th>编号</th><th>姓名</th><th>年龄</th></tr>
          <c:forEach items="${users}" var="u">
          <tr>
              <td>${u.id}</td>
              <td>${u.name}</td>
              <td>${u.age}</td>
          </tr>
          </c:forEach>
      </table>
        <a href="index.jsp">返回</a>

  </body>
</html>
